package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
  * WorkFlowCurrent dto
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/12
*/
@ApiModel
@Data
public class WorkFlowCurrentDTO extends BaseDTO {

    @ApiModelProperty(value = "流程id")
    @NotNull
    private Integer flowId;

    @ApiModelProperty(value = "流程类型")
    @NotNull
    private String flowType;

    @ApiModelProperty(value = "流程内容")
    private String body;

    @ApiModelProperty(value = "流程发起人")
    private WorkFlowNodeDTO.WorkFlowNodeGroupOperatorDTO firstNodeGroupOperator;

    @ApiModelProperty(value = "当前节点")
    @NotNull
    private WorkFlowNodeDTO currentNode;

}